home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 February
/
Gamestar_81_2006-02_dvd.iso
/
Red Shark
/
Common
/
AsianPalace.script
< prev
next >
Wrap
Text File
|
2001-10-05
|
1KB
|
45 lines
//-------------------------------------------------------------------
//
// This code is copyright 2001 by G5 Software.
// Any unauthorized usage, either in part or in whole of this code
// is strictly prohibited. Violators WILL be prosecuted to the
// maximum extent allowed by law.
//
//-------------------------------------------------------------------
class CAsianPalaceMesh
{
string MeshFile = "Models/B_Asian_6.mesh";
string SkinFile = "Models/B_Asian_6.skin";
}
class CAsianPalaceStateControl extends CUnitLifeControl
{
void CAsianPalaceStateControl()
{
CUnitLifeControl(2500.0);
m_DestroyPause = 20.0;
m_ExplosionId = "EXPLID_BuildingExplosion";
}
}
// Building without ground control (for use in villages)
class CBaseAsianPalace extends CBuilding, CUnitWithStateControl
{
void CBaseAsianPalace()
{
InitializeModelAsStatic("CAsianPalaceMesh");
CUnitWithStateControl("CAsianPalaceStateControl");
}
}
// Single game object
class CMountedAsianPalace extends CBaseAsianPalace
{
void CMountedAsianPalace()
{
InitializeGroundControl();
}
}